package com.itheima.motorcycletype.pojo;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "tb_motorcycletype")
public class MotorcycleType {
    @Id
    private Integer id;
    private String name;
    private Integer code;
    private Integer logoId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getLogoId() {
        return logoId;
    }

    public void setLogoId(Integer logoId) {
        this.logoId = logoId;
    }
}
